package o;

import android.content.Context;
import androidx.annotation.NonNull;
import java.nio.ByteBuffer;
import java.security.MessageDigest;

public final class aah implements sa {
    private final int ˊ;
    private final sa ॱ;

    @NonNull
    public static sa ˊ(@NonNull Context context) {
        return new aah(context.getResources().getConfiguration().uiMode & 48, aad.ॱ(context));
    }

    private aah(int i, sa saVar) {
        this.ˊ = i;
        this.ॱ = saVar;
    }

    public boolean equals(Object obj) {
        if (!(obj instanceof aah)) {
            return false;
        }
        aah o_aah = (aah) obj;
        if (this.ˊ == o_aah.ˊ && this.ॱ.equals(o_aah.ॱ)) {
            return true;
        }
        return false;
    }

    public int hashCode() {
        return aau.ˊ(this.ॱ, this.ˊ);
    }

    public void ॱ(@NonNull MessageDigest messageDigest) {
        this.ॱ.ॱ(messageDigest);
        messageDigest.update(ByteBuffer.allocate(4).putInt(this.ˊ).array());
    }
}
